public class Test {


}

/*//1-100内能被3整除同时能被5整除的数
    public static void main2(String[] args) {
        int i=1;
        while(i<=100){
            if(i%3==0&&i%5==0){
                System.out.println(i);
                i++;
                continue;
            }i++;

        }
    }
    public static void main1(String[] args) {

        int i=0;
        int sum=0;
        int sum1=0;
        for(i=1;i<=100;i++){
            sum=sum+i;

            if(i%2==0){
                sum1=sum1+i;
            }
        }
        System.out.println(sum); //1-100的和
        System.out.println(sum1); //1-100偶数的和
        System.out.println(sum-sum1);//1-100奇数的和

    }*/